package com.foreknow.demo4;

import java.util.Scanner;

/**
 *
 */
public class TestMethod4 {
    public static void A(){
        System.out.println("aaaaaaaaaaaa");
    }
    public static void B(double a){
        System.out.println("消费的金额： ");
        System.out.println(a);
    }
    public static void C(String a){
        System.out.println("你的名字");
        System.out.println(a);
    }
    public static void D(int[] array){
        System.out.println(array[0]);
    }
    public static void E(Scanner input){
        System.out.println("你的班级");
        input.next();
    }

    public static void main(String[] args) {
        Scanner putin = new Scanner(System.in);
        A();
        double money = putin.nextDouble();
        B(money);
        C("tom");
        int[] array1 = {1,2,3};
        D(array1);

        E(putin);
    }
}